/** Copyright 2020 Tianshu AI Platform. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =============================================================
*/

.upload-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#upload-form-style {
  .upload-chosen-tip {
    min-width: 100px;
    text-align: right;
  }

  ul.el-upload-list {
    width: 100%;
    height: auto;
    max-height: 408px;
    margin-top: 10px;
    overflow-y: auto;

    &.el-upload-list--picture {
      li {
        float: left;
        width: 92px;
        height: 92px;
        padding: 0 0 0 90px;
        margin: 8px;

        img {
          width: 90px;
          height: 90px;
          margin-left: -90px;
        }
      }
    }
  }

  .el-icon-close {
    top: 2px;
    right: 2px;
    z-index: 999;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: rgba(182, 196, 255, 1);
    border-radius: 50%;
  }
}
